<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>哇吖-运营后台</title>
<link rel="stylesheet" type="text/css" href="http://223.202.15.115:8080/editor/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="http://223.202.15.115:8080/editor/css/bootstrap-responsive.css">
<link rel="stylesheet" type="text/css" href="http://223.202.15.115:8080/editor/css/jquery.fileupload-ui.css">
<link rel="stylesheet" type="text/css" href="http://223.202.15.115:8080/editor/css/banner.css">
<link rel="stylesheet" type="text/css" href="http://223.202.15.115:8080/editor/css/style.css">
<style type="text/css">
input{width:300px;height:30px;}
</style>
</head>
<body>
	<div class="whole-container">
        <div class="navbar">
          <div class="navbar-inner">
            <div class="container">
              <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </a>
              <a class="brand" href="/test/appshow/form">运营后台</a>
              <div class="nav-collapse">
                <ul class="nav" id="nav-header"><li><a class="navbar-title" value="10" href="/test/appshow/form">助手运营</a></li><li class="active"><a class="navbar-title" value="100" href="/test/appshow/form">Banner运营</a></li></ul>
                <ul class="nav pull-right">
                  <li><span class="hello-name">您好,huayu</span></li>
                  <li class="divider-vertical"></li>
                  <li class="dropdown">
                    <a href="/test/appshow/form" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-cog icon-white"></i>操作 <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                      <li><a href="http://www.哇吖.com/" target="blank">哇吖首页</a></li>
                      <li><a href="http://dev.哇吖.com/" target="blank">哇吖开发者</a></li>
                      <li><a href="http://223.202.15.115:8080/editor/auth/reset">修改密码</a></li>
                      <li><a href="http://223.202.15.115:8080/editor/j_spring_security_logout">退出</a></li>
                    </ul>
                  </li>
                </ul>
              </div>
            </div>
          </div>
      </div>

		<div class="container-fluid">
			<div class="row-fluid">
				 <div class="span1" style="width:200px;">
    <div class="well" id="sidebar" style="padding: 8px 0px;">
      <ul class="nav nav-list side-list-title"><li value="101" url="/admin/banner/101"><a href="/test/appshow/form">手机端旧版</a></li><li value="102" url="/admin/banner/102" class="active"><a href="/test/appshow/form">手机端新版</a></li><li value="103" url="/admin/banner/103"><a href="/test/appshow/form">360</a></li><li value="104" url="/admin/banner/104"><a href="/test/appshow/form">豌豆荚</a></li><li value="105" url="/admin/banner/105"><a href="/test/appshow/form">WEB新站</a></li><li value="109" url="/admin/banner/109"><a href="/test/appshow/form">M站</a></li><li value="178" url="/admin/banner/178"><a href="/test/appshow/form">新手机端长Banner</a></li><li value="186" url="/admin/banner/186"><a href="/test/appshow/form">最新多跳转长banner</a></li></ul>
    </div>
</div>

				<div class="span9">
  <ul class="breadcrumb undisplay" style="display: block;">
    &gt;&gt;&gt;&gt;&gt;
    <li class="bread-header">Banner运营</li>
    <li class="bread-sidebar"><span class="divider">/</span><a href="/test/appshow/form">手机端新版</a></li>
    <li class="bread-submenu"></li>
  </ul><div class="alert-information">
	<div class="alert" style="display: none;">
		<a class="close">×</a> <span></span>
	</div>
</div>

<div class="main-content"> 


<script type="text/javascript">
function sub()
{
    var arr = document.getElementById('form').getElementsByTagName('input');
    var url = 'test/appshow/show?';
    var app = '';
    for (var i = 0; i < arr.length; i++)
    {
        var obj = arr[i];
        if (obj.name == 'day')
        {
            if (obj.value == '')
            {
                obj.focus();
                return alert('请输入日期');
            }
            url += 'day='+obj.value;
        }
        else if (obj.name == 'app[]')
        {
            if (obj.value == '')
            {
                obj.focus();
                return alert('请输入包名');
            }
            app += obj.value+',';
        }
    }
    location.href = '/'+url+'&app='+app;
}
</script>
</head>
<body>
<div id="form">
日 期：<input type="text" name="day"> 如：2013-11-14<br>
包名1：<input type="text" name="app[]"><br>
包名2：<input type="text" name="app[]"><br>
包名3：<input type="text" name="app[]"><br>
包名4：<input type="text" name="app[]"><br>
包名5：<input type="text" name="app[]"><br>
<input value="提交" type="button" onclick="sub()" style="width:100px;height:50px;">
</div>

</div>
		</div>
	</div>

</body></html>
